package xuegao.study.mall.rbac.service;

import xuegao.study.mall.common.model.ums.UmsResource;

import java.util.List;
import java.util.Map;

public interface UmsResourceService {

    List<UmsResource> list(Integer pageNum, Integer pageSize, Map<String, Object> params);

    List<UmsResource> listAll();

    int update(Long id, UmsResource resource);

    int insert(UmsResource resource);

    int delete(Long id);
}
